package com.aaa.backsystem.dao;

import com.aaa.backsystem.entity.Staff;
import com.aaa.backsystem.entity.StaffVo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author gyc
 * @since 2020-07-25
 */
public interface StaffDao extends BaseMapper<Staff> {
    List<StaffVo> findAllStaffListAndDeptName(@Param("pageInfo") Page<StaffVo> pageInfo, @Param("condition") Map<String, Object> condition);
}
